<!doctype html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
  <style>
    .red{
      background-color: blue;
    }
  </style>

</head>
<body>
  <div id="ting" class="box">
    我叫ting，class为box
  </div>
  <div id="box1">
    <!-- This is comment -->
    <strong id="box2">我是strong</strong>
    <div id="box3">
      <span id="box4">我是span</span>
    </div>
    <span id="box6">我是span</span>
  </div>

  <script src="dom.js"></script>
  <script src="main.js"></script>

</body>
</html>